let str = '𠮷a';

console.log(str.length);
for (let index = 0; index < str.length; index++) {
    const element = str[index];
    console.log(element);
}